package com.zhiche.lisa.tms.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by zhaoguixin on 2018/7/12.
 */
public class ShipmentAutoDTO implements Serializable{

    private static final long serialVersionUID = 1L;
    @JsonSerialize(using=ToStringSerializer.class)
    private Long id;
    /**
     * 装车单编号
     */
    private String code;
    /**
     * 承运商/人标识
     */
    private String carrierId;
    /**
     * 运输工具标识（如：车牌号）
     */
    private String transportationId;
    /**
     * 具体司机标识
     */
    private String driverId;
    /**
     * 具体司机姓名
     */
    private String driverName;
    /**
     * 具体司机电话
     */
    private String driverPhone;
    /**
     * 创建时间
     */
    private Date gmtCreate;
    /**
     * 实际启程时间
     */
    private Date gmtSetoff;
    /**
     * 实际交付时间
     */
    private Date gmtDeliver;

    /**
     * 租户
     */
    private Long tenantId;

    private List<OmsOrder> orderList;

    private OmsOrderLocation orderLocation;

    public OmsOrderLocation getOrderLocation() {
        return orderLocation;
    }

    public void setOrderLocation(OmsOrderLocation orderLocation) {
        this.orderLocation = orderLocation;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(String carrierId) {
        this.carrierId = carrierId;
    }

    public String getTransportationId() {
        return transportationId;
    }

    public void setTransportationId(String transportationId) {
        this.transportationId = transportationId;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtSetoff() {
        return gmtSetoff;
    }

    public void setGmtSetoff(Date gmtSetoff) {
        this.gmtSetoff = gmtSetoff;
    }

    public Date getGmtDeliver() {
        return gmtDeliver;
    }

    public void setGmtDeliver(Date gmtDeliver) {
        this.gmtDeliver = gmtDeliver;
    }

    public List<OmsOrder> getOrderList() {
        return orderList;
    }

    public void setOrderList(List<OmsOrder> orderList) {
        this.orderList = orderList;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }


}
